GtkListBox: ref_sink new object in set_header and set_adjustment
authorAlexander Larsson <alexl@redhat.com>
Wed, 4 Sep 2013 19:00:23 +0000 (21:00 +0200)
committerAlexander Larsson <alexl@redhat.com>
Wed, 4 Sep 2013 19:01:50 +0000 (21:01 +0200)
commit5ed8db986fbfe1720d360af502b99aabd45d9312
tree699d74040cd4c458ebd74f8512fa4163351cee46
parente331b36739c99b20f9574d220d66b72be46bf336
GtkListBox: ref_sink new object in set_header and set_adjustment

These are taking ownership of the object in the hierarchy, so should
sink any floating refs to make it easy to use in C code.
gtk/gtklistbox.c